package cn.kgc.service.Impl;



import cn.kgc.mapper.DistrictMapper;
import cn.kgc.pojo.District;
import cn.kgc.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("districtService")
public class DistrictServiceImpl implements DistrictService {

    @Autowired
    DistrictMapper districtMapper;

    @Override
    public List<District> district() {
        return districtMapper.district();
    }
}
